package me.helllp.bootman.core.factory;

import java.util.List;

import me.helllp.bootman.core.bean.VoBean;

/**
 * 用于生产Bean的代码
 * 
 * @author Administrator
 *
 */
public class BeanFactory extends AbstractFactory{

	private static final long serialVersionUID = -1527585037703087431L;

	public BeanFactory(String identify,String basePackage){
		super(identify,basePackage);
	}
	
	@Override
	public String getIdentify() {
		return identify;
	}

	private String packageName;
	
	private String memo;
	
	private List<VoBean> nodeList;

	public List<VoBean> getNodeList() {
		return nodeList;
	}

	public void setNodeList(List<VoBean> nodeList) {
		this.nodeList = nodeList;
	}

	public String getPackageName() {
		return packageName;
	}

	public void setPackageName(String packageName) {
		this.packageName = packageName;
	}

	public String getMemo() {
		return memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

	@Override
	public String getTemplateFile() {
		return "auto/bean.ftl";
	}

	@Override
	public String getFileName() {
		return getIdentify() + ".java";
	}
}
